package simple.factory.method;

public class CaliforniaStore extends PizzaStore {
    public CaliforniaStore(SimplePizzaFactory pizzaFactory) {
        super(pizzaFactory);
    }

    @Override
    Pizza createPizza(String type) {
        System.out.println("加利福尼亚比萨店加点自己的东西");
        return pizzaFactory.createPizza(type);
    }
}
